package com.example.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class HomePage extends InternalPage {

	
	@FindBy(xpath = "//img[@title=\"Add movie\"]") 
	public WebElement addMovie;
	
	@FindBy(name = "name")
	public WebElement movieNameField;
	
	@FindBy(id = "submit")
	public WebElement saveButton;
	
	@FindBy(name = "year")	
	  public WebElement movieYearField;
	
	@FindBy(xpath ="//*[@id='wrapper']/header/div/nav/ul/li[1]/a")
	public WebElement menuHomeLink;

}
